package org.spring.boot.kafka.demo.common.entity;

import java.io.Serializable;
import java.util.Date;

public class Info implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1323L;

	private Integer id;
	
	private String code;
	
	private Date date;
	
	private Object msg;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	public Info(Integer id, String code, Date date, Object msg) {
		super();
		this.id = id;
		this.code = code;
		this.date = date;
		this.msg = msg;
	}

	public Info() {
	}

	@Override
	public String toString() {
		return "Info [id=" + id + ", code=" + code + ", date=" + date + ", msg=" + msg + "]";
	}
	
	
}
